package cn.brilliantfuture.commentry.plan;

import javax.jws.WebService;

/**
 * 
 * Title: Communication Entry
 * 
 * Author:  LiTian  
 *
 * Date: 2012-1-18
 * 
 * Description: 配送计划WEB SERVICE接口
 * 
 */
@WebService
public interface DeliveryPlanMessageWebService {

	/**
	 * 发送配送计划
	 * @param deviceSn 终端编号
	 * @param deliveryPlanId 计划ID
	 * @param planType 计划类型
	 * @param gridNum 配送仓编号
	 * @param storeMode 存储方式
	 * @param rfidSn 货物条码
	 * @return int
	 */
	public int revokePlan(String deviceSn, int deliveryPlanId, int planType, int gridNum, int storeMode, String rfidSn);
	
	/**
	 * 返回配送计划发布情况
	 * @param planTypes 计划类型
	 * @param businessTypes 业务类型
	 * @param storeCodes 收储码
	 * @param statuses 状态
	 */
	public void deliveryPlanCallback(Integer[] planTypes, Integer[] businessTypes, String[] storeCodes, Integer[] statuses);
}
